package com.wsdcd.zlg.sb.mapper;

import com.wsdcd.zlg.sb.model.entity.Product;
import com.wsdcd.zlg.sb.util.PageParameter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {

	void insert(Product product);

	void delete(int productId);

	void update(Product product);

	List<Product> select();

	int getCount();

	List<Product> selectByPage(PageParameter pageParameter);

	Product selectByProductName(String productName);

	Product selectByProductId(String productId);

	void deleteAll(int[] productId);
}
